package javabasic.singleton.ehanshi;

public enum Singleton02 {
    INSTANCE
}
class Singltton02Test{
    public static void main(String[] args) {
        Singleton02 instance = Singleton02.INSTANCE;
        Singleton02 instance1 = Singleton02.INSTANCE;
        System.out.println(instance==instance1);
    }
}
